package cn.tedu.you_two;

public class Test2 {
	public static void main(String[] args) {
		for (int a = 1; a <= 3; a++) {
			System.out.println(a);
			for (int b = 1; b <= 5; b++) {
				System.out.println(b);
				if(b==2) {
					break;
				}
			}
		}

		for (int a = 1; a <= 4; a++) {
			for (int b = 1; b <= 3; b++) {
				System.out.print("*");
			}
			System.out.println();
		}

		for (int a = 1; a <= 9; a++) {
			for (int b = 1; b <= a; b++) {
				System.out.print(b + "*" + a + "=" + a * b);
				System.out.print(" ");
			}
			System.out.println();
		}

	}
}
